package com.xy.biz.base.domain.req;

import com.xy.lang.validation.annotation.AlertMessage;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class ListDictTreeItemRequest {

    /**
     * 字典分组编码
     */
    @NotNull(message = "dictGroupCodeRequired")
    @AlertMessage(code = "dictGroupCodeRequired", msg = "字典分组编码不能为空")
    private String dictGroupCode;
    /**
     * 父字典Id
     */
    private Long parentDictId;

}
